package com.chong.scanner;

import java.util.Scanner;

public class


Demo3 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("使用next方式接收：");

        //String str = scanner.next();
        String str = scanner.nextLine();
        System.out.println("用户输入的内容：" + str);
    }
}
